﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq;
using System.Text;

namespace Ausm.Contracts
{
    public interface IConnectionProvider
    {
        SqlConnection GetConnection();
        SqlConnection GetConnection(string name);

        void ReleaseConnection(SqlConnection connection);
        event EventHandler ConnectionOpened;
    }
}
